home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso
/
misc
/
coding
/
ct_xmp15
/
eosexam.asm
< prev
next >
Wrap
Assembly Source File
|
1996-09-15
|
1KB
|
57 lines
Locals
.486p
CODE32 SEGMENT PUBLIC PARA 'CODE' USE32
ASSUME CS:CODE32,DS:CODE32,ES:CODE32
INCLUDE ..\RESOURCE\EOS.INC
include mxmplay.inc
copyright db "mxmplay asm example (c) '95/96 Niklas Beisert / pascal",10,13
db 'EOS conversion by Eclipse',13,10,10,'$'
playing db 'playing "at0mic playboys" by Screamager... press any key to stop.$'
byebye db 13,10,'thanks for listening',13,10,'$'
module:
include atomic.inc
mxmdata db 4000h dup (?)
Start32:
mov ah,9
mov edx,offset copyright
int 21h
mov edi,[Environment_addr]
call xmpGetGUSPort_
lea ebx,mxmdata
mov ecx,65536
mov esi,O module
mov dl,MXMINTMODEEOS
call xmpInit_
xor eax,eax
call xmpPlay_
mov ah,9
mov edx,offset playing
int 21h
xor ah,ah
DosInt 16h
mov ah,9
mov edx,offset byebye
int 21h
call xmpStop_
mov ax,4c00h
int 21h
CODE32 ENDS
END